package com.niguang.work.api.weChatTemplate.vo;

import com.niguang.work.api.enums.FormFlagEnum;
import lombok.Data;

/**
 * 隐患审核通知模板
 */
@Data
public class ZhengGaiApplyVo {

    /**
     * 发送信息openId
     */
    private String openId;


    /**
     * 标题
     */
    private String title;

    /**
     * 内容
     */
    private String content;

    /**
     * 消息类型
     */
    private String infoType;

    /**
     * 项目名称
     */
    private String siteName;

    /**
     * 待审核工单
     */
    private String waitApply;

    /**
     * 截至时间
     */
    private String splitTime;

    /**
     * 标识 1 分享
     */
    private String pageType;

    private Integer formFlag;


    public ZhengGaiApplyVo(String openId, String siteName, String waitApply, Integer formFlag) {
        this.content = "你还有新的隐患等待审核，请尽快处理！";
        this.title = "隐患审核提醒";
        this.pageType = "1";
        this.openId = openId;
        this.infoType = FormFlagEnum.getName(formFlag);
        this.siteName = siteName;
        this.waitApply = waitApply;
        this.formFlag = formFlag;
    }

    public ZhengGaiApplyVo() {
    }
}
